<template>
  <div class="details_tag1">
    <van-tab title="介绍" class="tag1">
      <div class="name">名字{{desc}}</div>
      <p class="jieshao">
        <van-rate
          class="star"
          size="12px"
          color="#33b17b"
          v-model="value"
          allow-half
          void-icon="star"
          void-color="#eee"
        />
        <span class="pingfen">{{ value }}</span>
        <span class="xueguo">100人学过</span>
        <van-tag class="tag" plain type="primary">独家</van-tag>
      </p>
      <p class="price">￥123</p>
      <div class="tag_details">
        <div class="tag_details_t">
          <h4>适用人群</h4>
          <p>零基础学习理财，看我这一偏就足够了</p>
        </div>
        <div class="tag_details_b">
          <h4>课程进步</h4>
          <p class="duan1">哈哈哈哈哈哈</p>
          <p>66666666</p>
        </div>
      </div>
    </van-tab>
  </div>
</template>

<script>
export default {
  data() {
    return {
      value: 3.5,
    };
  },
  props:['desc']
};
</script>

<style lang="scss">
.details_tag1 {
  .tag1 {
    padding-left: 18px;
  }
  .name {
    height: 34px;
    line-height: 34px;
  }
  .jieshao {
    font-size: 12px;
    .star {
      margin-right: 6px;
    }
    .pingfen {
      margin-right: 16px;
    }
    .tag {
      float: right;
      margin-right: 20px;
    }
  }
  .price {
    height: 12px;
    line-height: 1;
    margin-top: 35px;
    color: #ff2832;
    font-size: 12px;
  }
  .tag_details {
    .tag_details_t {
      width: 90vw;
      margin: 0 auto;
      border-bottom: 1px solid #ccc;
      padding-bottom: 12px;
      margin-top: 15px;
    }
    .tag_details_b {
      width: 90vw;
      margin: 0 auto;
      margin-top: 6px;
    }
  }
}
</style>
